package edu.fdzc.learn.mapper;

import edu.fdzc.learn.entity.Homework;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HomeworkMapper {
    void insert(Homework homework);

    void delete(int id);

    void update(Homework homework);

    Homework findById(int id);

    List<Homework> findAll(int courseId);
}
